package part10;

/**
 * @author wcj
 * @Date 2021/5/19 17:44
 * @Version 1.0
 */
public class Part107 {

    public Describe describe(String dest) {
        return new Describe() {
            private String label = dest;

            @Override
            public String readLabel() {
                return label;
            }
        };
    }

    public static void main(String[] args) {
        Part107 part107 = new Part107();
        Describe describe = part107.describe("describe");
    }
}

interface Describe {

    /**
     * readLabel
     *
     * @return
     */
    String readLabel();
}